package com.example.rental_system.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
public class House {
    //房屋jd
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    //用户id
    private String userId;
    //房源标题
    private String homeTitle;
    //房屋类型（几室几厅）
    private String homeType;
    //房屋面积
    private Double homeSize;
    //房屋楼层
    private Integer floor;
    //出租方式
    private String rentType;
    //地址
    private String address;
    //小区名字
    private String cellName;
    //租房价格
    private Double price;
    //电话号码
    private String telephone;
    //房屋朝向
    private String houseOrientation;
    //img
    private String img;
    //发布人
    private String publisher;
}
